package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialDisputeRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialDisputePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialDisputeDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialDisputeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialDisputeDomainImpl extends BaseDomainImpl<ContractInitialDisputeDto, ContractInitialDisputePo> implements ContractInitialDisputeDomain {

    @Resource
    private ContractInitialDisputeRepository contractInitialDisputeRepository;

    @Override
    public BaseRepository<ContractInitialDisputePo> getMapper() {
        return contractInitialDisputeRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialDisputePo>> getRepositoryClass() {
        return ContractInitialDisputeRepository.class;
    }

}
